#include <stdio.h>
#include <stdlib.h>

int main(int argc, char const *argv[])
{

    FILE *fp;
    if(!(fp=fopen("/etc/hosts","r"))){
    	printf("can't open file!\n");
    }
    else{
    	printf("open sucess\n");
    }
	/* code */
	return 0;
}